package third4lookup;

import org.springframework.beans.factory.support.MethodReplacer;

import java.lang.reflect.Method;

/**
 * @author: ZhouBert
 * @date: 2020/9/19
 * @description:	测试 replace-method
 *
 *
 */
public class MethodReplace implements MethodReplacer {


	@Override
	public Object reimplement(Object obj, Method method, Object[] args) throws Throwable {
		System.out.println("方法已经被替换!");
		return null;
	}
}
